<!-- Modal -->
<div class="modal fade" id="user-modal-email" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true"
     xmlns:th="http://www.thymeleaf.org">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="staticBackdropLabel">修改邮箱</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div id="ms-modal-user-default-img" class="modal-body">
                <form id="user-card-email-form-second">
                    <div class="row g-3 d-inline mt-0">
                        <div class="col-auto mt-0">
                            <label for="user-card-email-form-second-email" class="col-form-label">请输入新的邮箱</label>
                        </div>
                        <div class="col-auto">
                            <input name="email" type="text" id="user-card-email-form-second-email" class="form-control">
                            <div class="valid-feedback">
                                提示: 格式正确!
                            </div>
                            <div id="user-card-email-form-second-email-fail" class="invalid-feedback">
                                提示: 邮箱格式错误
                            </div>
                        </div>
                    </div>

                    <div class="row g-3">
                        <div class="col-auto">
                            <button id="user-card-email-sendCaptchaSecond" class="btn btn-primary"
                                    onclick="sendCaptchaSecond('user-card-email-sendCaptchaSecond')" type="button">
                                发送验证码
                            </button>
                            <label for="user-card-password-form-captcha" class="col-form-label">验证码</label>
                        </div>
                        <div class="col-auto">
                            <input name="captcha" type="password" id="user-card-password-form-captcha" class="form-control">
                            <div class="valid-feedback">
                                提示: 格式正确!
                            </div>
                            <div id="user-card-password-form-captcha-fail" class="invalid-feedback">
                                提示: 第二次输入的密码不一致
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">取消</button>
                <button id="user-card-email-form-save-second" type="button" class="btn btn-primary"
                        onclick="saveUserEmailOver('user-card-email-form-save-second')"
                >保存</button>
            </div>
        </div>
    </div>
</div>